<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

       <h1 th:text="${userName}"> </h1>


    <form action="test.html" th:attr="action=@{/tt}">

        <fieldset>
            <input type="text" name="email" />
            <input type="submit" value="Subscribe!" th:attr="value=#{subscribe.submit}"/>
        </fieldset>
    </form>


    <tr th:each="user: ${list}">

        <td th:text="${user.userName}"></td>
        <td th:text="${user.password}"></td>
    </tr>

</body>
</html>